/*
 * @Author: Bo Cai
 * @Mail: caibo0520@qq.com
 * @Date: 2021-12-21 16:49:19
 * @LastEditors: Bo Cai
 * @LastEditTime: 2021-12-25 01:55:13
 */
import request from '@/utils/request'
const api_name = '/edu-service/course-learn'

export default {
    learn(courseId, chapterId, videoId) {
        return request({
            url: `${api_name}/${courseId}/${chapterId}/${videoId}`,
            method: 'get',
        })
    },
    getTotalLearnProgress() {
        return request({
            url: `${api_name}/`,
            method: 'get',
        })
    }
}